export class PageResult<T> {
    total: number;
    list: any[];


    constructor( row: any[], total: number,) {
        this.total = total;
        this.list = row;
    }

    static of(value :any[]) {
        let result = new PageResult(value[0], value[1]);

        return result;
    }
}
